package com.example.gokchinesefoodmappcdev.entity;




import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class CustomerInfo {

  private long customerId;
  private String openid;
  private String nickName;
  private String sex;
  private String city;
  private String province;
  private String monitoringEquipmentId;
  private String country;
  private String headimgurl;
  private String customType;
  private String backup;
  private String status;
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date gmtCreate;
  private Date gmtModified;
  private String areaCode;
  private String mobile;
  private Date birthday;
  private String password;
  private String wxopenid;


  public long getCustomerId() {
    return customerId;
  }

  public void setCustomerId(long customerId) {
    this.customerId = customerId;
  }


  public String getOpenid() {
    return openid;
  }

  public void setOpenid(String openid) {
    this.openid = openid;
  }


  public String getNickName() {
    return nickName;
  }

  public void setNickName(String nickName) {
    this.nickName = nickName;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public String getCity() {
    return city;
  }

  public void setCity(String city) {
    this.city = city;
  }


  public String getProvince() {
    return province;
  }

  public void setProvince(String province) {
    this.province = province;
  }


  public String getMonitoringEquipmentId() {
    return monitoringEquipmentId;
  }

  public void setMonitoringEquipmentId(String monitoringEquipmentId) {
    this.monitoringEquipmentId = monitoringEquipmentId;
  }


  public String getCountry() {
    return country;
  }

  public void setCountry(String country) {
    this.country = country;
  }


  public String getHeadimgurl() {
    return headimgurl;
  }

  public void setHeadimgurl(String headimgurl) {
    this.headimgurl = headimgurl;
  }


  public String getCustomType() {
    return customType;
  }

  public void setCustomType(String customType) {
    this.customType = customType;
  }


  public String getBackup() {
    return backup;
  }

  public void setBackup(String backup) {
    this.backup = backup;
  }


  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }


  public Date getGmtCreate() {
    return gmtCreate;
  }

  public void setGmtCreate(Date gmtCreate) {
    this.gmtCreate = gmtCreate;
  }


  public Date getGmtModified() {
    return gmtModified;
  }

  public void setGmtModified(Date gmtModified) {
    this.gmtModified = gmtModified;
  }


  public String getAreaCode() {
    return areaCode;
  }

  public void setAreaCode(String areaCode) {
    this.areaCode = areaCode;
  }


  public String getMobile() {
    return mobile;
  }

  public void setMobile(String mobile) {
    this.mobile = mobile;
  }


  public Date getBirthday() {
    return birthday;
  }

  public void setBirthday(Date birthday) {
    this.birthday = birthday;
  }


  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }


  public String getWxopenid() {
    return wxopenid;
  }

  public void setWxopenid(String wxopenid) {
    this.wxopenid = wxopenid;
  }

  @Override
  public String toString() {
    return "CustomerInfo{" +
            "customerId=" + customerId +
            ", openid='" + openid + '\'' +
            ", nickName='" + nickName + '\'' +
            ", sex='" + sex + '\'' +
            ", city='" + city + '\'' +
            ", province='" + province + '\'' +
            ", monitoringEquipmentId='" + monitoringEquipmentId + '\'' +
            ", country='" + country + '\'' +
            ", headimgurl='" + headimgurl + '\'' +
            ", customType='" + customType + '\'' +
            ", backup='" + backup + '\'' +
            ", status='" + status + '\'' +
            ", gmtCreate=" + gmtCreate +
            ", gmtModified=" + gmtModified +
            ", areaCode='" + areaCode + '\'' +
            ", mobile='" + mobile + '\'' +
            ", birthday=" + birthday +
            ", password='" + password + '\'' +
            ", wxopenid='" + wxopenid + '\'' +
            '}';
  }
}
